﻿using System;
using System.Collections.Generic;
using System.Text;

using Httlgd.DataCenter.Services.Common;
using Httlgd.DataCenter.Services.Core;
using Httlgd.DataCenter.Services.Core.Common;
using System.Runtime.Serialization;
using System.ComponentModel;

namespace Httlgd.DataCenter.Services.Sms.DataTransferObject
{
    [DataContract]
    public class SermonDTO : Httlgd.DataCenter.Services.Core.BusinessEntityBase
    {
        #region Properties
        [DataMember]
        public int ID { get; set; }

        [DataMember]
        public Guid Guid { get; set; }

        [DataMember]
        public int SermonCategoryID { get; set; }

        [DataMember]
        public int ServiceTypeID { get; set; }

        [DataMember]
        public int SpeakerID { get; set; }

        [DataMember]
        public string Title { get; set; }

        [DataMember]
        public string ContentOutline { get; set; }

        [DataMember]
        public DateTime? ServiceDate { get; set; }

        [DataMember]
        public string FileName { get; set; }

        [DataMember]
        public string FilePath { get; set; }

        [DataMember]
        public List<AttachmentDTO> Attachments { get; set; }

        [DataMember]
        public List<TagDTO> Tags { get; set; }

        [DataMember]
        public List<BibleScriptureDTO> BibleScriptures { get; set; }
        #endregion

        #region Override Properties
        public override object Key
        {
            get
            {
                return ID;
            }
            set
            {
                ID = (int)value;
            }
        }
        #endregion
    }
}
